<template>
	<view>
		<web-view :webview-styles="styles" :src="url"></web-view>
	</view>
</template>
<script>
	export default {
		data() {
			return {
				url: '',
				styles: {
					progress: {
						color: '#FF3333'
					}
				}
			}
		},
		onLoad(val) {
			this.url = decodeURIComponent(val.url)//解码网址
		}
	}
</script>

<style>
</style>
